<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: dingwenjiang
  Date: 2019-05-08
  Time: 01:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>余额</title>
</head>
<body>
    你好：${user.userName} <br/>
    <c:choose>
        <c:when test="${type=='add'}">
            ${msg}${num}.
            <br />
        </c:when>
        <c:when test="${type=='minus'}">
            ${msg}${num}.
            <br />
        </c:when>
        <c:otherwise>
            当前余额${user.balance}
            <br />
        </c:otherwise>
    </c:choose>
</body>
</html>
